package com.bugstack.types.annotations;

import java.lang.annotation.*;

/**
 * @Author: czb
 * @Description: TODO
 * @DateTime: 2025/4/24 14:04
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface RateLimiterAccessInterceptor {

    String key() default "all";

    double permitsPerSecond();

    double blacklistCount() default 0;

    String fallbackMethod();
}
